/*
 * Copyright 2016 Wealth Inc. All rights reserved.
 */
 package com.wealth.platform.repository;

import java.util.List;

import iaas.repository.BaseRepository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;
import com.wealth.platform.entity.PlatformActivity;

/**
 * @author chan
 * @version 1.0
 * @since 1.0
 */
 
@Repository
public interface PlatformActivityDao extends BaseRepository<PlatformActivity, Long> ,JpaSpecificationExecutor<PlatformActivity>{

 
	 List<PlatformActivity> findPlatformActivityByType(int type);
 
	
	//查询平台活动
	public List< PlatformActivity> findByStatusAndType(Integer status,Integer type);
 
}
